#!/bin/bash
ed aaa <<!a!
:1,3d
q
!a!

